/*
 * Copyright (C) 2016 MC
 * All rights reserved.
 *
 * $$File: $$
 * $$DateTime: $$
 * $$Author: $$
 * $$Revision: $$
 */
 
package com.glela.platform.model;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * @author liujie
 *
 */
public class DeviceLink
{

	private int id;
	/**
	 * 设备标识
	 */
    private String deviceLink;
    /**
     * 是否调试器
     */
    private boolean isDebugger;
    /**
     * 是否越狱
     */
    private boolean isJailbreak;
    /**
     * 是否模拟器
     */
    private boolean isSimulator;
    /**
     * 百度设备渠道ID
     * add by liujie 2016-03-07 增加参数channalId,type
     */
    private String channalId;
    /**
     * 设备类型 1：android 2:ios
     */
    private int deviceType;

	public String getChannalId() {
		return channalId;
	}

	public void setChannalId(String channalId) {
		this.channalId = channalId;
	}

	public int getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(int deviceType) {
		this.deviceType = deviceType;
	}

	/**
	 * @return the id
	 */
	public int getId()
	{
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id)
	{
		this.id = id;
	}

	/**
	 * @return the deviceLink
	 */
	public String getDeviceLink()
	{
		return deviceLink;
	}

	/**
	 * @param deviceLink the deviceLink to set
	 */
	public void setDeviceLink(String deviceLink)
	{
		this.deviceLink = deviceLink;
	}

	/**
	 * @return the isDebugger
	 */
	public boolean isDebugger()
	{
		return isDebugger;
	}

	/**
	 * @param isDebugger the isDebugger to set
	 */
	public void setDebugger(boolean isDebugger)
	{
		this.isDebugger = isDebugger;
	}

	/**
	 * @return the isJailbreak
	 */
	public boolean isJailbreak()
	{
		return isJailbreak;
	}

	/**
	 * @param isJailbreak the isJailbreak to set
	 */
	public void setJailbreak(boolean isJailbreak)
	{
		this.isJailbreak = isJailbreak;
	}

	/**
	 * @return the isSimulator
	 */
	public boolean isSimulator()
	{
		return isSimulator;
	}

	/**
	 * @param isSimulator the isSimulator to set
	 */
	public void setSimulator(boolean isSimulator)
	{
		this.isSimulator = isSimulator;
	}
	
	@Override
	public String toString()
	{
		return ReflectionToStringBuilder.reflectionToString(this);
	}

}
